Common code

Some third-party APIs require more complex request and response data. The Share Code and Code Options settings are used when configuring code in individual actions to generate the body content for a request or to transform the HTTP response into output parameters.

Code options

Specify the language to use for all code in the API definition and add any third-party libraries and the related Namespace Imports. The following languages are supported:

  • Visual Basic
  • C#

Shared code

Add any code, such as library functions and common properties, that is required across the whole API to define HTTP body content and responses.